﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Seas.Core;

namespace TimeTabling.Core
{
    /// <summary>
    /// Claseq que contendrá todas la propiedades de una aula
    /// </summary>
    public class Classroom
    {
        /// <summary>
        /// Identificados de la clase
        /// </summary>
        public Guid Id { get; set; }
        /// <summary>
        /// Nombre de la clase
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// Centro al que pertenece un aula
        /// </summary>
        public Center Center { get; set; }

        public IList<ClassRoomResource> classroomResource { get; set; }
        public IList<ClassRoomResource> ClassroomResource
        {
            get
            {
                if (classroomResource == null)
                {
                    classroomResource = new List<ClassRoomResource>();
                }
                return classroomResource;
            }
            set
            {
                classroomResource = value;
            }
        }



        
    }
}